package com.example.comprehension;

import android.os.Bundle;
import android.os.Handler;

/**
 * Created by tong on 16/4/12.
 */
public class NoticeProxyActivity extends BaseActivity {

    private Handler handler = new Handler();

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        delayedFinish();
    }

    private void delayedFinish() {
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                try {
                    finish();
                } catch (Throwable e) {

                }
            }
        }, 1000);
    }
}
